<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/SiteWithControlAccess.Master"
    Inherits="ProjetoComperio.SystemFramework.Web.ComperioViewPage<ProjetoComperio.DataLayer.Entities.Publication>" %>

<%@ Import Namespace="ProjetoComperio.DataLayer.Entities" %>
<%@ Import Namespace="System.Linq" %>
<asp:Content ID="Content" ContentPlaceHolderID="MainContent" runat="server">
    <%   
        using (Html.BeginForm("Edit", "Publication", FormMethod.Post, new { id = "Edit" }))
        {
            Html.RenderPartial("~/Views/Publication/PublicationForm.ascx");
    %>
    <div align="right">
        <input type="submit" value="Salvar" class="Button" id="Save" />&nbsp;&nbsp;
        <input type="button" value="Voltar" class="Button" onclick="location='/Project/Index'"
            id="Return" />
    </div>
    <% }
    %>

    <%  Html.RenderPartial("~/Views/Contribution/ContributionItem.ascx"); %>
    <br />        
</asp:Content>
